import { TransformPlainToClass } from "class-transformer";

export namespace StringHelper {
    export function trim(val: string) {
        if(typeof val !== 'string') {
            return null;
        }
        return val.replace(/(^\s*)|(\s*$)/g, ""); 
    }
}